﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Demo
{
    class Press
    {
        private String pressname;
        private String pressadress;
        private String principle;

        public void Pressinformation() 
        {
            Console.WriteLine("该出版社的名字是{0},该出版社的地址是{1}，该出版社的负责人是{2}",pressname,pressadress,principle);
        }
        public String Pressname 
        {
            get { return this.pressname;  }
            set { this.pressname = value; }
        }
        public String Pressadress
        {
            get { return this.pressadress;  }
            set { this.pressadress = value; }
        }
        public String Principle 
        {
            get { return this.principle;  }
            set { this.principle = value; }
        }
    }
}
